package com.mk.magic_c.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mk.magic_c.dto.DiscussPostHomeVo;
import com.mk.magic_c.model.DiscussPost;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Magic Kong
 * @since 2021-10-02
 */
public interface DiscussPostMapper extends BaseMapper<DiscussPost> {
    /**
     * 首页帖子查询
     *
     * @return
     */
    Page<DiscussPostHomeVo> listHomePost(Page<DiscussPostHomeVo> page);
}
